《OpenWrt开发笔记》第31章 OpenWrt 4G拨号上网(Ubuntu12.04+Openwrt15.05) |
您所在的位置:网站首页 › openwrt 4g模块 上网 › 《OpenWrt开发笔记》第31章 OpenWrt 4G拨号上网(Ubuntu12.04+Openwrt15.05) |
开发环境: 开发板:RT5350 4G 模块:QUECTEL EC25 OpenWrt 源码版本:Chaos_Calmer 参考文档:Quectel_WCDMA<E_Linux_USB_Driver_User_Guide_V1.7.pdf 31.1 USB Serial驱动首先修改内核,内核文件在chaos_calmer/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_rt305x/linux-3.18.109目录下,需要事先编译过系统。当模块连接到USB串行驱动时,驱动程序将在目录/dev中创建设备文件, ttyUSB0/ttyUSB1/ttyUSB2… 接下来就是讲解如何移植USB Serial。 31.1.1增加PID&VID要想识别模块,客户应该在下面添加模块维和PID信息 File: [KERNEL]/drivers/usb/serial/option.c static const struct usb_device_id option_ids[] = |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |